package com.rzico.report.service;

import com.rzico.report.entity.ChartDataVo;
import com.rzico.report.entity.SaleRoomVo;
import com.rzico.report.mapper.SaleRoomReportMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class SaleRoomReportService {

    @Autowired
    private SaleRoomReportMapper saleRoomReportMapper;

    public List<SaleRoomVo> showSaleAndFee(Map<String, Object> params) {
        return saleRoomReportMapper.showSaleAndFee(params);
    }

    public SaleRoomVo showOrderStatus(Map<String, Object> params) {
        return saleRoomReportMapper.showOrderStatus(params);
    }

    public List<ChartDataVo> showChartData(Map<String, Object> params) {
        return saleRoomReportMapper.showChartData(params);
    }
}
